<?php
include "../../shared/lan.php"
?>


<?php

include "../../shared/head.php";

?>

<?php

include "../../shared/config.php";

?>	
<?php

include "../../shared/navbar2.php";
$ID = $_GET['id'];
$clan = $_GET['clan'];
if($clan=="zh"){
	$sql = "select * from cv where cv_id = $ID";
}
else{
	$sql = "select * from cv_en where cv_id = $ID";
}
$result = mysqli_query($conn,$sql);
while($row = mysqli_fetch_array($result, MYSQLI_ASSOC))
{
	$cv_n = $row["cv_name"];
	$cv_s = $row["sex"];
	$cv_un = $row["name"];
	$cv_t = $row["tel"];
	$cv_em = $row["email"];
	$cv_edu = $row["education"];
	$cv_c = $row["certification"];
	$cv_j = $row["job"];
	$cv_a = $row["about"];
}
?>
<style>
</style>
<div class="container">
   <div class="row">
      <div class="col-md-12">
		<div class="col-md-2">
		</div>

		<div class="col-md-8">
			<form method="POST" action="cvcv.php">			
				<div class="input-group">
				 <h2><?php echo $查看?></h2>
				 </br>
				 <div class="input-group">
					<span class="input-group-addon"><?php echo $简历名称?></span>
					<textarea class="form-control" rows="1" cols="100" name="cv_name" value="" disabled="disabled">
<?php echo $cv_n; ?>
</textarea>
				</div>	
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $姓名?></span>
					
					<textarea disabled="disabled" class="form-control" rows="1" name="name" ><?php echo $cv_un; ?></textarea>
				</div>					
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $性别?></span>
					<textarea disabled="disabled" class="form-control" rows="1" name="sex" ><?php echo $cv_s; ?></textarea>
				</div>	
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $电话?></span>
					
					<textarea disabled="disabled" class="form-control" rows="1" name="tel" ><?php echo $cv_t; ?></textarea>
				</div>	
				<br>				
				<div class="input-group">
					<span class="input-group-addon"><?php echo $邮箱?></span>
					
					<textarea disabled="disabled" class="form-control" rows="1" name="email" >
<?php echo $cv_em; ?></textarea>
				</div>	
				<br>				
				<div class="input-group">
					<span class="input-group-addon"><?php echo $教育经历?></span>
					
					<textarea disabled="disabled" class="form-control" rows="3" name="education" ><?php echo $cv_edu; ?></textarea>
				</div>
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $证书?></span>
					
					<textarea disabled="disabled" class="form-control" rows="5" name="certification" ><?php echo $cv_c; ?></textarea>
				</div>
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $工作经历?></span>
					
					<textarea disabled="disabled" class="form-control" rows="5" name="job" ><?php echo $cv_j; ?></textarea>
				</div>
				<br>
				<div class="input-group">
					<span class="input-group-addon"><?php echo $其他信息?></span>
					
					<textarea disabled="disabled" class="form-control" rows="5" name="about" ><?php echo $cv_a; ?></textarea>
				</div>
				</br>
				<div class="input-group">
					<button class="btn btn-primary" type="submit"><?php echo $返回?></button>
				</div>					
			</form>		
		</div>

		<div class="col-md-2">
		</div>		
	  
	  </div>
    
   </div>

</div>		


</body>
</html>